<?php
defined('_JEXEC') or die;

?>
<div class="mI mLatestNews">
    <ul class="clrfix itemList">
    <?php foreach ($list as $key=>$item) :  ?>    	
        <li<?php if(count($list)==$key+1) echo ' class="last"';?>>
            <a href="<?php echo $item->link; ?>" title="<?php echo $item->title;?>">
                <?php echo $thumb;?><?php echo $item->title; ?></a>
        </li>
    <?php endforeach; ?>
    </ul>
</div>